import request from '../utils/request'

//一个接口封装成一个函数
export function teacher_list( payload = {} ){
    return request({
        url:'http://localhost:3000/postgjc',
        params: payload,
        method:'get'
    })
}
export function teacher_add( payload = {} ){
    return request({
        url:'http://localhost:3000/postgjc',
        data: payload,
        method:'post'
    })
}
